package com.znyj.cloud.device.util;

import io.netty.channel.ChannelHandlerContext;

/**
 * Created by gaoliwei on 15-4-9.
 */
public class ChannelUtil {

    public static String getKey(ChannelHandlerContext ctx) {
        return ctx.channel().remoteAddress().toString();
    }
}
